package c.h.a.j0;

import android.view.View;
import java.util.ArrayList;

/* compiled from: lambda */
public final /* synthetic */ class f0 implements Runnable {
    public final /* synthetic */ a1 a;
    public final /* synthetic */ ArrayList b;

    public /* synthetic */ f0(a1 a1Var, ArrayList arrayList) {
        this.a = a1Var;
        this.b = arrayList;
    }

    public final void run() {
        a1 a1Var = this.a;
        ArrayList arrayList = this.b;
        a1Var.Z.clear();
        a1Var.Z.addAll(arrayList);
        a1Var.c0.a.b();
        View view;
        View view2;
        if (a1Var.Z.isEmpty()) {
            a1Var.W.setVisibility(8);
            view = a1Var.e0;
            if (view != null) {
                view.setVisibility(8);
            }
            view2 = a1Var.f0;
            if (view2 != null) {
                view2.setVisibility(0);
                return;
            }
            return;
        }
        a1Var.W.setVisibility(0);
        view = a1Var.e0;
        if (view != null) {
            view.setVisibility(8);
        }
        view2 = a1Var.f0;
        if (view2 != null) {
            view2.setVisibility(8);
        }
    }
}
